package org.android.application.marksixmanage.model;

import java.util.HashMap;
import java.util.Map;

import cn.bmob.BmobObject;

public abstract class BaseModelData {
	
	private String objectId;
	private String createdAt;
	private String updatedAt;

	
	
	public String getObjectId() {
		return objectId;
	}

	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}

	public String getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(String createdAt) {
		this.createdAt = createdAt;
	}

	public String getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(String updatedAt) {
		this.updatedAt = updatedAt;
	}

	public Map<String,Object> toMap(){
		Map<String, Object> paramMap = new HashMap<String, Object>();
		return paramMap;
	}
	
	public void toData(BmobObject bmobObject){
		setObjectId(bmobObject.getObjectId());
		setCreatedAt(bmobObject.getCreatedAt());
		setUpdatedAt(bmobObject.getUpdatedAt());
	}

}
